package com.flyoil.petromp.view;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.LinearLayout;

import com.flyoil.petromp.R;

/**
 * Created by songzhiiyn on 2017/10/17.
 * 自定义view事项流程状态
 */

public class CourseCertainStatusView extends LinearLayout {
    private View view;
    private Context context;

    public CourseCertainStatusView(Context context) {
        super(context);
        initview(context);
    }

    public CourseCertainStatusView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        initview(context);
    }

    public CourseCertainStatusView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        initview(context);
    }

    private void initview(Context context) {
        this.context = context;
        view = LayoutInflater.from(context).inflate(R.layout.view_course_certain_status_layout, this);
    }
}
